<!--{if !($allow_ajax_browse && $ajax_online)}-->
<!--{if $login_status == 0 && $index_regtips == "1" && $page_regtips <> "1" && $all_regtips <> "1"}-->
<div id="bmbsms" class="bordercolor" style="filter:Alpha(Opacity=70); visibilty: hidden;position: absolute; top: 0px; width: 220px; height: 80px; background-color: ffffff">
	<table cellspacing="0" cellpadding="5" width="100%" class="forumcoloronecolor" border="0" onclick="document.getElementById('bmbsms').style.visibility='hidden';">
		<tr>
			<td>{hefo[29]}</td>
		</tr>
		<tr>
			<td height="90" align="center">{hefo[30]}<br />
			<br />
			<strong><a href="register.php">{hefo[31]}</a>&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="login.php">{hefo[32]}</a></strong><br />
			<br />
			{hefo[33]}<br />
			</td>
		</tr>
	</table>
</div>
<!--{/if}-->
<form name="form1" style="margin:0px;" action="login.php" method="post">
<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center" id="index_msg_box">
			<tr id="index_msg_box_1">
				<td id="index_msg_box_2">
<!--{if $login_status}-->
{echo $havemesseng[0]} <strong>{echo $gotNewMessage}</strong> {echo $havemesseng[1]} <strong>{echo $postamount}</strong> {echo $havemesseng[3]} <strong>{echo $level}</strong>
<!--{else}-->

<!--{if $fastlogin}-->
{echo $login_index}
<!--{else}-->
{echo $login_index_2}
<!--{/if}-->

<!--{if $log_va && $fastlogin}-->
{echo $gl[439]}

<!--{if $gd_auth == 1}-->

<input type="text" size="6" maxlength="6" name="authinput" />&nbsp;<img src="authimg.php?p=1" alt='' />
<!--{elseif !$gd_auth}-->
<input type="text" size="6" maxlength="6" name="authinput" />&nbsp;<img src="authimg.php?p=1" alt='' /><img src="authimg.php?p=2" alt='' /><img src="authimg.php?p=3" alt='' /><img src="authimg.php?p=4" alt='' /><img src="authimg.php?p=5" alt='' />
<!--{/if}-->

<!--{/if}-->

<!--{/if}-->


						</td>
						<td style="style:auto;" align="right" id="index_msg_box_3">{popp[20]}
						<span class="jiazhongcolor"><strong>{echo $thelastest['todaynew']}</strong></span> 
						{popp[8]} / {popp[21]} <strong>{echo $thelastest['ydaynew']}</strong> {popp[8]} 
						/ {popp[22]} <strong>{echo $thelastest['maxnews']}</strong> {popp[8]}<br />
						{popp[3]} {echo $infotwotwo} / {popp[24]} <strong>{echo $thelastest['threadnum']}</strong> {popp[8]} / {popp[5]} <strong>{echo $thelastest['postsnum']}</strong> 
						{popp[8]} / {popp[4]} <strong>{echo $thelastest['regednum']}</strong>{popp[9]}
						</td>
					</tr>
</table>
</form>
<br />
<!--{if $bbs_news}-->
<table cellpadding="5" cellspacing="1" border="0" class="tableborder" align="center">
	<tr>
		<td class="announcement" colspan="5">
		<span class="categoryfontcolor_normal"><a href="announcesys.php">{indexinfo[10]}</a></span></td>
	</tr>
	<tr>
	<td class="forumcolortwo">
	<div id="announcement_c"></div>
	</td>
	</tr>
</table>
<script type="text/javascript">
//<![CDATA[ 
document.getElementById("announcement_c").innerHTML="<marquee direction=\"left\" TrueSpeed scrollamount=\"1\" scrolldelay='30' onmouseover='this.stop();' onmouseout='this.start();'>{echo $announcement}</marquee>";
//]]>>
</script>
<!--{/if}-->


<script type="text/javascript">
//<![CDATA[ 
function adminjump(list) { 
var myindex1  = list.selectedIndex;  
var newwindow = list.options[myindex1].value; 
if (newwindow != "") { var msgwindow = window.open(newwindow,"",""); }
}
//]]>>
</script>
<!--{eval show_row_ads("showindex");}-->
<!--{if $hot_tags_list}-->
<br />
<table cellpadding="5" cellspacing="1" border="0" class="tableborder" align="center">
	<tr>
		<td class="announcement" colspan="5">
		<span class="categoryfontcolor_normal"><a href="plugins.php?p=tags">{indexinfo[11]}</a></span></td>
	</tr>
	<tr>
	<td class="forumcolortwo" style="text-align:left">
		{echo $hot_tags_list}
	</td>
	</tr>
</table>
<!--{/if}-->

<!--{loop $bmforumlist $key $forum}-->
<!--{if $bmforumlist[$key]['TYPE']== "category"}-->
<!--{eval $t_c_id = $forum[ID]; if($forums_stat[$t_c_id] == 0) continue;}-->
<!--{if $key>0}-->
		</table>
		</td>
	</tr>
</table>
<!--{/if}-->
<!--{if !$bmforumlist[$key]['TROW']}-->
<!--{eval $now_row=0;}-->
<br />
<table border="0" cellspacing="0" cellpadding="0" align="center" class="tableborder">
	<tr>
		<td>
		<table cellpadding="4" cellspacing="1" width="100%" border="0">
			<tr>
				<td colspan="7" class="indexalign1">
				<span class="categoryfontcolor_normal"><a href="index.php?cateid={echo $bmforumlist[$key]['ID']}">
				<img src='{otherimages}/category.gif' border="0" alt="" />{echo $bmforumlist[$key]['NAME']}<img src='{otherimages}/category.gif' alt="" border="0" />
				</a></span>
				</td>
			</tr>
			<tr class="indexalign2">
				<td width="*" class="tablebg" colspan="2">
				<span class="titlefontcolor">{popp[13]}</span></td>
				<td width="40" class="tablebg">
				<span class="titlefontcolor">{popp[15]}</span></td>
				<td width="40" class="tablebg">
				<span class="titlefontcolor">{popp[16]}</span></td>
				<td width="40" class="tablebg">
				<span class="titlefontcolor">{popp[23]}</span></td>
				<td width="168" class="tablebg">
				<span class="titlefontcolor">{popp[17]}</span></td>
				<td width="140" class="tablebg">
				<span class="titlefontcolor">{popp[14]}</span></td>
			</tr>

<!--{else}-->
<!--{eval $now_row=1;$count_rows=0;$current_cid=$bmforumlist[$key]['ID'];$start_count=$key+1;}-->


		<br />
		<table border="0" cellspacing="0" cellpadding="0" align="center" class="tableborder">
			<tr>
				<td>
				<table cellpadding="4" cellspacing="1" width="100%" border="0">
					<tr>
						<td colspan="{echo $bmforumlist[$key]['current_rows']}" class="indexalign1">
						<span class="categoryfontcolor_normal"><a href="index.php?cateid={echo $bmforumlist[$key]['ID']}">
						<img src='{otherimages}/category.gif' border="0" alt="" />{echo $bmforumlist[$key]['NAME']}<img src='{otherimages}/category.gif' border="0" alt="" />
						</a></span></td>
					</tr>
<!--{/if}-->
<!--{elseif $bmforumlist[$key]['TYPE']!= "category" && $now_row != 1}-->



					<tr align="center" valign="middle" class="forumcoloronecolor" onmouseover="javascript:this.className='forumcolor_onmouseover';" onmouseout="javascript:this.className='forumcoloronecolor';">
						<td width="26" class="border_bottom_forum">
						<a onfocus="this.blur()" href="forums.php?forumid={echo $bmforumlist[$key]['ID']}">
						{echo $bmforumlist[$key]['forum_icon']}</a></td>
						<td width="*" align="left" class="border_bottom_forum">
						<table width="100%" cellpadding="1">
							<tr>
								<td width="*" rowspan="2">{echo $bmforumlist[$key]['teamicon']}</td>
								<td width="1" rowspan="2"></td>
								<td width="100%" height="10">{echo $bmforumlist[$key]['forumlabel']} 
								</td>
							</tr>
							<tr>
								<td valign="top"><span class="forumdescolor">
								{echo $bmforumlist[$key]['forum_des']}</span> 
								{echo $bmforumlist[$key]['subforums']}</td>
							</tr>
						</table>
						</td>
						<td width="40" valign="middle" align="center" class="border_bottom_forum">
						<span class="cau">{echo $bmforumlist[$key]['ztnum']}</span></td>
						<td width="40" valign="middle" align="center" class="border_bottom_forum">
						<span class="cau">{echo $bmforumlist[$key]['ztnum1']}</span></td>
						<td width="40" valign="middle" align="center" class="border_bottom_forum">
						<span class="cau">{echo $bmforumlist[$key]['ztnum2']}</span></td>
						<td width="168" align="right" class="border_bottom_forum">
						<table width="100%" align="right">
							<tr>
								<td width="2%" align="right">&nbsp;</td>
								<td class="indexsummaryalgin">{echo $bmforumlist[$key]['title']}<br />
								{echo $bmforumlist[$key]['time']}</td>
							</tr>
						</table>
						</td>
						<td width="140" style="table-layout: fixed;word-wrap: break-word" class="border_bottom_forum">&nbsp;
						{echo $bmforumlist[$key]['admin_list']}</td>
					</tr>

<!--{elseif $bmforumlist[$key]['TYPE']!= "category" && $now_row == 1}-->
<!--{eval $count_rows++;}-->
<!--{if $leiji==($bmforumlist[$key]['current_rows']-1) || $forums_stat[$current_cid]==$count_rows}-->
<!--{eval $leiji=0;}-->
<!--{eval for($row_i=0;$row_i<$bmforumlist[$key]['current_rows'];$row_i++) { }-->
<!--{eval if ($bmforumlist[$start_count+$row_i]['ROWF'] != 1) $start_count = -1000; }-->
<!--{if $row_i == 0}-->
					<tr align="center" valign="middle" class="forumcolortwo_noalign">
<!--{/if}-->
						<td style="table-layout: fixed;word-wrap: break-word;" width="{echo $bmforumlist[$key]['current_width']}%" class="forumcoloronecolor" align="left" onmouseover="javascript:this.className='forumcolor_onmouseover';" onmouseout="javascript:this.className='forumcoloronecolor';">
						<table width="100%" cellpadding="0" title="{echo $bmforumlist[$start_count+$row_i]['forumdes']}">
							<tr>
								<td width="*">{echo $bmforumlist[$start_count+$row_i]['forum_icon']}</td>
								<td width="100%" style="padding-left:2px;">
									<strong>{echo $bmforumlist[$start_count+$row_i]['forumlabel']}</strong><br />
									<span class="forumdescolor">{echo $bmforumlist[$start_count+$row_i]['ztnum']}</span> <br />
									{echo $bmforumlist[$start_count+$row_i]['admin_list_row']}
								</td>
							</tr>
						</table>
						</td>
<!--{if $row_i == ($bmforumlist[$key]['current_rows']-1)}-->
				</tr>
<!--{/if}-->
<!--{eval } $start_count=$start_count+$bmforumlist[$key]['current_rows']; }-->
<!--{else}-->
<!--{eval $leiji++;}-->
<!--{/if}-->


<!--{/if}-->

<!--{/loop}-->
<!--{if $key>0 || $forumscount<2}-->
				</table>
				</td>
			</tr>
		</table>
<!--{/if}-->
		<br />
		<table border="0" cellspacing="0" cellpadding="0" align="center" class="tableborder">
			<tr>
				<td>
				<table cellpadding="4" cellspacing="1" width="100%" border="0">
<!--{if $todayb_show}-->
					<tr class="tile_back_color">
						<td class='forum_border_one_3'>
						<span class="categoryfontcolor_normal"><strong>{todaybd[0]}&nbsp; 
						{todaybd[1]} {echo $counowtd} {todaybd[2]} </strong></span></td>
					</tr>
					<tr class="forumcoloronecolor">
						<td class='forum_border_one_3' align="left">{echo $tdbdshow}
						</td>
					</tr>
<!--{/if}-->
					<tr class="tile_back_color">
						<td class='forum_border_one_3'>
						<span class="categoryfontcolor_normal"><strong>{poteo[8]}&nbsp;-&nbsp;<span class="categoryfontcolor_normal"><a href="misc.php?p=lmcode">{poteo[11]}</a></span></strong></span></td>
					</tr>
					<tr class="forumcolorone_align">
						<td class='forum_border_one_3' style="width:100%;word-wrap: break-all;">
						<span class="jiazhongcolor"><strong>{poteo[0]}</strong></span>
						<div style='width:100%'> 
							{echo $simgnow}
						</div>
						</td>
					</tr>
					<tr class="forumcolorone_align">
						<td class='forum_border_one_3' style="width:100%;word-wrap: break-all;">
						<span class="jiazhongcolor"><strong>{poteo[1]}</strong></span>
						<div style='width:100%'> 
							{echo $stextnow}
						</div>
						</td>
					</tr>
				</table>
				</td>
				</tr>
			</table>
{echo $shareforum_js}
<!--{/if}-->


<div id="onlinelist">
<script type="text/javascript">
//<![CDATA[ 
var online_show_anti="{echo $online_show_anti}";
//]]>>
</script>
<script src="images/bmb_ajax.js" type="text/javascript"></script><br/>
		<table border="0" cellspacing="0" cellpadding="0" align="center" class="tableborder">
			<tr>
				<td>
				<table cellpadding="4" cellspacing="1" width="100%" border="0">
					<tr class="tile_back_online">
						<td class='forum_border_one_3'>
						<strong>
						<a name="onlinearea"></a><span class="categoryfontcolor_normal"><a href="misc.php?p=viewonline" >{echo $online_c}</a></span><span class="categoryfontcolor_normal">&nbsp;-</span>
						<span class="categoryfontcolor_normal"><a onclick="bmb_ajax_preprocess('index.php','?','{echo $allow_ajax_browse}');" href="#onlinearea">
						{echo $show2s}</a></span>
						</strong></td>
					</tr>
					<tr class="forumcolorone_align">
						<td class='forum_border_one_3'>{echo $online_p}{echo $onlinests}</td>
					</tr>
					{echo $shows}
				</table>
				</td>
			</tr>
		</table>
</div>
<!--{if !($allow_ajax_browse && $ajax_online)}-->

		<br />
		<table border="0" align="center" cellpadding="5" cellspacing="1" class="bmbnewstyle_withoutwidth">
			<tr>
				<td class="forumcolorone_ex">
				<img alt="{poteo[2]}" src="{nonewpost}" /> {poteo[3]}
				<img alt="{poteo[4]}" src="{newpost}" /> {poteo[5]}
				<img alt="{poteo[6]}" src="{onlyread}" /> {poteo[7]}
				</td>
			</tr>
		</table>
<!--{/if}-->

